package edu.wong.pro.action;

import java.io.File;

import com.opensymphony.xwork2.ActionSupport;

import edu.wong.pro.iservice.IOther;

public class LoadPhotoAction extends ActionSupport{
	private File photo;
	private IOther iOther;
	public File getPhoto() {
		return photo;
	}
	public void setPhoto(File photo) {
		this.photo = photo;
	}
	public IOther getiOther() {
		return iOther;
	}
	public void setiOther(IOther iOther) {
		this.iOther = iOther;
	}
	public String loadPhoto(){
		iOther.loadPhoto(photo);
		return "ok";
	}
}
